@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="预案名称" value="${item.name}" underline="true"/>
                    <#select id="type" name="类型" underline="true" disabled="true">
                        <option value>请选择</option>
                        @for(counterplantype in counterplantypes){
                        @if(isNotEmpty(item.type) && item.type == counterplantype.type){
                        <option value="${counterplantype.type}" selected="selected">${counterplantype.type}</option>
                        @}else{
                        <option value="${counterplantype.type}" >${counterplantype.type}</option>
                        @}
                        @}
                    </#select>
                    <#input id="accidentMain" name="岗位" value="${item.accidentMain}"  hiddenValue="${item.accidentMain}" readonly="true" underline="true"/>

                    <#button btnCss="info" name="通讯录" id="contact" icon=""
                    clickFun="CounterplanInfoDlg.contactSel()"/>

                    <#button btnCss="info" name="处置流程" id="contact" icon=""
                    clickFun="CounterplanInfoDlg.processSel()"/>

                    <#button btnCss="info" name="法律法规" id="contact" icon=""
                    clickFun="CounterplanInfoDlg.lawSel()"/>
                </div>

                <div class="col-sm-6">
                    <#input id="levelName" name="响应等级" value="${item.levelName}"
                    hidden="levelId" hiddenValue="${item.levelId}" readonly="true" underline="true"/>

                    <#input id="stationName" name="地点" value="${item.stationName}"
                    hidden="roadnetId" hiddenValue="${item.roadnetId}" readonly="true" underline="true"/>

                    <#input id="accidentTypeName" name="事故类型" value="${item.accidentTypeName}"
                    hidden="accidentTypeId" hiddenValue="${item.accidentTypeId}" readonly="true" underline="true"/>
                </div>
            </div>

            <#ue id="content" value="${item.content}"/>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="CounterplanInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                    clickFun="CounterplanInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/yjya/counterplan/counterplan_info.js"></script>
@}
